Skip to content

Fix: Fixed multi service openapi bugs and added multi service global …#41

Merged
Attakay78 merged 1 commit intodevelopfrom
fix/multi_service_bug
Mar 24, 2026
Merged

Fix: Fixed multi service openapi bugs and added multi service global …#41
Attakay78 merged 1 commit intodevelopfrom
fix/multi_service_bug

Conversation

@Attakay78
Copy link
Owner

  • Per-service maintenance (engine.enable_service_maintenance): puts all routes of one service into maintenance mode at once without affecting other services. SDK clients with a matching app_id receive the sentinel over SSE and treat every request as if their own global maintenance were enabled. Supports reason, exempt_paths, and include_force_active, the same parameters as all-services global maintenance. Controllable via the new shield sm CLI command group (status, enable, disable), the REST API (POST /api/services/{service}/maintenance/enable|disable), and the dashboard Routes page (service maintenance card, shown when a service filter is active). Audit log actions: service_maintenance_on and service_maintenance_off.

  • Per-service global rate limit (engine.set_service_rate_limit): a rate limit policy scoped to a single service name that applies to all routes of that service. Sits between the all-services global rate limit and per-route limits in the enforcement chain, requests are checked in order: global maintenance, service maintenance, global rate limit, service rate limit, per-route rate limit. Configurable from the dashboard Rate Limits page (service RL card, shown when a service filter is active) and the new shield srl CLI command group (get, set, delete, reset, enable, disable). Uses GlobalRateLimitPolicy — the same model as the all-services global rate limit. Persisted in the backend via a sentinel key so the policy survives Shield Server restarts.

@Attakay78 Attakay78 self-assigned this Mar 24, 2026
@Attakay78 Attakay78 force-pushed the fix/multi_service_bug branch 2 times, most recently from 370a56b to 74f204b Compare March 24, 2026 10:38
@Attakay78 Attakay78 force-pushed the fix/multi_service_bug branch from 74f204b to 398f42c Compare March 24, 2026 10:40
@Attakay78 Attakay78 merged commit 1cc7ae8 into develop Mar 24, 2026
12 checks passed
@Attakay78 Attakay78 deleted the fix/multi_service_bug branch March 24, 2026 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant